package mongodb

import (
	twig "beergo/plugins/twig/lib/go"
	"github.com/beego/beego/v2/server/web"
)

var twigger *twig.Twig

func init() {
	twigger = new(twig.Twig)
	twigger.ConfRoot = web.AppConfig.DefaultString("Root", "D:/ht_service/empty")
	twigger.ConfCacheDir = "/var"
	twigger.ConfPhpPath = "/plugins/twig/php"
	twigger.ConfTwigPath = "/plugins/maker/template"
	twigger.ConfDev = true
	twigger.ConfNumPipes = 1
	twigger.ConfPhpBinPath = "php"
	twigger.Init()
}
